#ifndef ENCRYPTOR_H
#define ENCRYPTOR_H

#include <QString>

class Encryptor{
public:
    Encryptor();

    static QString encode(const QString &originalString);
    static QString decode(const QString &encrypedString);

    static bool encode(const char *originalString, int stringLenth, char *encryptedString);
    static bool decode(const char *encryptedString, int stringLenth, char *originalString);
};

#endif // ENCRYPTOR_H
